
*{
    cursor: default;
}

.msg-container {
    border: 3px solid black;
    border-radius: 10px;
}

.userlist {
    width: 212px;
    height: 557px;
    margin: 0px;
    position: absolute;
    top: 3px;
    left: 0px;
    padding-top: 5px;
    padding-left: 5px;
    overflow-y: scroll;
} 

.userlist > ul > li {
    list-style: none;
    
}

.message-main {
    margin-left: 214px;
}

.user-item {
    height: 60px;
    position: relative;
    border: 1px solid #f4f4f4;
    padding-left: 5px;
    margin: 5px 0px;
}

.user-item:hover {
    background-color: #dbd6d6;
}

.nickname:hover {
    color: #ef4000;
}

.head-img {
    display: inline-block;
}

.head-img > img {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    cursor: pointer;

}

.nickname{
    display: inline-block;
    position: absolute;
    top: 10px;
    margin-left: 15px;
    cursor: pointer;

}

.online,
.not-online {
    display: inline-block;
    position: absolute;
    top: 30px;
    margin-left: 15px;
    cursor: pointer;
}

.online {
    color: #41b883;
}

.not-online {
    color: #ef4000;
}

.delete {
    position: absolute;
    top: 9px;
    right: 2px;
    width: 25px;
    text-align: center;
    background-color: #7ecde5;
    padding-bottom: 2px;
    font-family: "微软雅黑";
    color: #333333;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

.user-item:hover .delete {
    display: block;
}

.delete:hover {
    background-color: #31b0d5;
}

